Skip to main content

All Questions

2votes
1answer
472views

make html table in sync with javascript array

I have an array of users containing user name with their rules on my practice project I have generated a table in HTML from that array in JS, So I can change the ...
TAHER El Mehdi's user avatar
4votes
0answers
287views

Creating Multiple Carousels by storing them in an Array with JavaScript

I created a code where I can add multiple carousels to a page. I did this by storing the carousel in an array and accessing it by clicking on the previous/next arrows. I was trying to prevent any ...
Saul Diaz's user avatar
4votes
1answer
220views

Displaying Media with HTML and JavaScript

I have a personal website that I use to share videos and images with friends. Below is a media generator using JavaScript and HTML. Its main purpose is to display one image at a time at the click of a ...
user avatar
0votes
1answer
70views

Data selection and filtering

Here i have javascript code where is 'animals' object and 'people' array of objects. User selects the data from select box and accordingly table fills with selected data(which is array of objects) and ...
user222442's user avatar
2votes
1answer
102views

Suggestion for improving this code to be more readable and easy for beginners? [closed]

I'm a JavaScript beginner trying to learn by doing. Here I have a table with different values: I have used two for loops. Is there an easier way to achieve this? For example having just one for loop, ...
user222442's user avatar
3votes
1answer
66views

Partial Sudoku Verifier

To practice my JavaScript for future employment, I've decided to take up the challenge of writing a javascript sudoku verifier. This code only verify's one of the ...
Ben A's user avatar
  • 10.7k
0votes
2answers
190views

Convert HTML input string to JavaScript Array literal

I am trying to accept JavaScript array literals in an HTML text input. The problem is that HTML text inputs are captured as strings, such that an input of ...
Oguntoye's user avatar
5votes
1answer
3kviews

Generating an HTML table with colspan and rowspan from a one-dimensional array

I will be given the following input: ...
Chris's user avatar
11votes
3answers
10kviews

Displaying random quotes from an array

Is there anything that I could have done better in this code? ...
udb's user avatar
  • 279
4votes
1answer
2kviews

Cross-browser DOMTokenList object and wrapper function. Failures and improvements?

I have been looking for a Cross-browser solution for DOMTokenList and element.classList. I wasn't able to find much for ...

close